home *** CD-ROM | disk | FTP | other *** search
- Path: news.duke.edu!usenet
- From: huettel@psych.duke.edu (Scott Huettel)
- Newsgroups: comp.lang.c
- Subject: Help on screen color needed.
- Date: 1 Feb 1996 16:19:56 GMT
- Organization: Duke University
- Message-ID: <4eqp7c$i47@news.duke.edu>
- NNTP-Posting-Host: zebrafinch.psych.duke.edu
- X-Newsreader: WinVN 0.92.6+
-
- Hi!
- In my lab, we are revising our computer systems.
- One relatively minor problem is that we are unable to
- change the background color of the screen (e.g., make
- the screen turn red at a particular time) using the
- designated commands. The compiler (a new Borland compiler;
- I am not sure of the version, offhand) suggests using the
- setbkcolor(int) command, where int is either an integer
- or a pre-defined color name. Unfortunately, we receive
- error messages, such as "unknown command" or something
- similar, when we run this portion of the code.
-
- I have included the graphic.h file per the
- compiler's instructions, and there are no obvious
- typos or other problems. Does anyone have a suggestion
- as to a possible source for this error? Are there other
- commands/ways to change the screen color in a DOS app?
-
- Thank you in advance for any help, and email or reply if
- more specific information is needed.
-
- -scott
- huettel@psych.duke.edu
-